package com.aiou.security.properties;

import lombok.Data;

/**
 * @author zyb
 */
@Data
public class BrowserProperties {
    private SessionProperties session = new SessionProperties();

    private String loginPage = SecurityConstants.DEFAULT_LOGIN_PAGE_URL;

    private LoginType loginType = LoginType.REDIRECT;

    private int rememberMeSeconds = 3600;

    private String signUpUrl;

    public enum LoginType {
        /**
         * 跳转
         */
        REDIRECT,

        /**
         * 返回json
         */
        JSON
    }

}